#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(int argc, char **argv)
{
	float x, y, z;
	float mochang = 0.0;

	x = y = z = 0.0;

	if (argc != 4) {
		printf("usage:%s x y z\n", argv[1]);
		exit(1);
	}

	printf("mochang is %s\n", argv[1]);

	x = atof(argv[1]);
	y = atof(argv[2]);
	z = atof(argv[3]);

	mochang = sqrt(x*x + y*y + z*z);
	printf("mochang is %f\n", mochang);

	printf("32/mochang is %f\n", 32 / mochang);

	return 0;
}
